package com.tutu.user.service;

import java.util.List;
import java.util.Set;

import com.tutu.user.entity.SysMenuInfo;

public interface ISysMenuInfoService {
	/**
	 * 获取用户权限
	 * @param userId
	 * @return
	 */
	Set<SysMenuInfo> getSysMenuInfoByUserId(String userId);
	/**
	 * 获取权限集
	 * @param sysMenuInfo
	 * @return
	 */
	List<SysMenuInfo> getSysMenuInfos(SysMenuInfo sysMenuInfo);
	/**
	 * 保存权限信息
	 * @param sysMenuInfo
	 */
	void saveSysMenuInfo(SysMenuInfo sysMenuInfo) throws Exception;
	/**
	 * 获取指定权限
	 * @param menuId
	 * @return
	 * @throws Exception
	 */
	SysMenuInfo getSysMenuInfo(String menuId) throws Exception;
	/**
	 * 修改权限
	 * @throws Exception
	 */
	void updateSysMenuInfo(SysMenuInfo sysMenuInfo) throws Exception;
}
